package monsters
{
	/**
	 * ...
	 * @author ...
	 */
	import org.flixel.*;
	 
	public class Uppers extends FlxGroup
	{
		public function Uppers()
		{
			super();
		}
		
		public function addUpper(x:int, y:int):void
		{
			var tempUpper:Upper = new Upper(x, y);
				
			add(tempUpper);
		}
		
		override public function update():void
		{
			super.update();
		}
		
		public function change(controle:int):void
		{
			
			for (var i:int; i < this.members.length; i++ )
			{	
				var member:Upper = this.members.shift();
				if (member != null) 
				{
						
					member.change(controle);
					this.members.push(member);
					
				}else 
				{
					i--;
				}
			}
		}
	}

}